package com.dm.cloud.core.service.user;

import com.dm.cloud.core.mode.UserMode;

public class DefaultCurrentUserService implements CurrentUserService{
    @Override
    public UserMode getCurrentUser() {
        return null;
    }

    @Override
    public String uid() {
        return "-1";
    }

    @Override
    public String uname() {
        return "-1";
    }

    @Override
    public String chineseName() {
        return "游客";
    }

    @Override
    public boolean hasPermissions(String[] permissions) {
        return false;
    }

    @Override
    public boolean hasRoles(String[] roles) {
        return false;
    }
}
